import { jobLogPage } from "@/api/system/jobLog";

const state = {};

const mutations = {};

const actions = {
  // jobLogPage
  jobLogPage({ commit, state }, params) {
    return new Promise((resolve, reject) => {
      jobLogPage(params)
        .then(data => {
          resolve(data);
        })
        .catch(error => {
          reject(error);
        });
    });
  }
};

export default {
  namespaced: true,
  state,
  mutations,
  actions
};
